import request from '@/utils/request'

// 查询家人账单管理列表
export function listFamaccont(query) {
  return request({
    url: '/picture/famaccont/list',
    method: 'get',
    params: query
  })
}


export function fIdlicst() {
  return request({
    url: '/picture/famaccont/fIdlicst',
    method: 'get'
  })
}

// 查询家人账单管理详细
export function getFamaccont(id) {
  return request({
    url: '/picture/famaccont/' + id,
    method: 'get'
  })
}

// 新增家人账单管理
export function addFamaccont(data) {
  return request({
    url: '/picture/famaccont',
    method: 'post',
    data: data
  })
}

// 修改家人账单管理
export function updateFamaccont(data) {
  return request({
    url: '/picture/famaccont',
    method: 'put',
    data: data
  })
}

// 删除家人账单管理
export function delFamaccont(id) {
  return request({
    url: '/picture/famaccont/' + id,
    method: 'delete'
  })
}
